package com.flyco.modules.oms.service;

import com.flyco.modules.oms.entity.OmsElemeGoodsItem;
import com.flyco.modules.oms.entity.OmsElemeRetailOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 饿了么订单表
 * @Author: flyco
 * @Date:   2021-08-10
 * @Version: V1.0
 */
public interface IOmsElemeRetailOrderService extends IService<OmsElemeRetailOrder> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(OmsElemeRetailOrder omsElemeRetailOrder,List<OmsElemeGoodsItem> omsElemeGoodsItemList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(OmsElemeRetailOrder omsElemeRetailOrder,List<OmsElemeGoodsItem> omsElemeGoodsItemList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
